package com.feign.service;


import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;

@FeignClient(name = "test")
public interface TestService {

    @RequestLine("GET /test/list")
    Object getList();

    @RequestLine("GET /test/detail")
    Object getDetail(String id);
}